home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
programr
/
appsrcs.zip
/
APPSETUP.ZIP
/
APPSTART.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-02-07
|
661b
|
33 lines
#define STRICT
#include <windows.h>
#include <windowsx.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "appsetup.h"
/*-------------------------------------------------------------------------*/
BOOL WINAPI RestartDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
switch(message)
{
case WM_INITDIALOG:
return TRUE;
case WM_COMMAND:
switch(wParam)
{
case IDRESTART_YES:
EndDialog(hDlg, 0);
ExitWindows(EW_RESTARTWINDOWS, 0);
return TRUE;
case IDRESTART_NO:
EndDialog(hDlg, 0);
return TRUE;
}
break;
}
return FALSE;
}